<?php
	// thinhnc 2013-04-09
	// Nhan cac tham so ngaybatdau, tkb, hstart, hend va sobuoi de tim kiem giao vien co lich ranh phu hop
	// Chua giai quyet: hien tai chi tim giao vien ranh (free=1) nhung chua xac dinh cu the thoi gian free/busy
	// => Can xac dinh gv co ranh tu NgayBatDau hay khong?
	if(	isset($_GET['f_ngaybatdau']) && 
		isset($_GET['f_tkb']) && 
		isset($_GET['f_sobuoi']) &&
		isset($_GET['f_hstart']) &&
		isset($_GET['f_hend']))
	{

		include 'class/class.phieuthu.php';	
		$phieuthu = new phieuthu();
		print_r($phieuthu->tinhNgayKetThuc($_GET['f_ngaybatdau'], $_GET['f_sobuoi'], $_GET['f_tkb'], $_GET['f_hstart'], $_GET['f_hend']));
	}
?>